Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 42995227f17d984939b51231bc9a7d87040132b7


Parents : e4f2e91
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-05-02T05:58:50-05:00

feat(locales): add optional API key support and descriptions in multiple languages for LibreTranslate integration

Changes
Diff

diff --git a/meshchatx/src/frontend/locales/de.json b/meshchatx/src/frontend/locales/de.json
index 9a94dafd..9328f7a8 100644
--- a/meshchatx/src/frontend/locales/de.json
+++ b/meshchatx/src/frontend/locales/de.json
@@ -2104,6 +2104,9 @@
"libretranslate": "LibreTranslate",
"api_server": "LibreTranslate API-Server",
"api_server_description": "Geben Sie die Basis-URL Ihres LibreTranslate-Servers ein (z. B. http://localhost:5000)",
+ "api_key_optional": "LibreTranslate API-Schlüssel (optional)",
+ "api_key_placeholder": "Leer lassen, sofern Ihr Anbieter keinen verlangt",
+ "api_key_description": "Falls erforderlich, erwartet LibreTranslate dies als api_key im JSON-Übersetzungskörper und optional bei der Sprachenanfrage. Bei typischen selbst gehosteten Instanzen weglassen.",
"source_language": "Quellsprache",
"auto_detect": "Automatisch erkennen",
"target_language": "Zielsprache",

diff --git a/meshchatx/src/frontend/locales/es.json b/meshchatx/src/frontend/locales/es.json
index 03512f90..35d1335c 100644
--- a/meshchatx/src/frontend/locales/es.json
+++ b/meshchatx/src/frontend/locales/es.json
@@ -2169,6 +2169,9 @@
"libretranslate": "LibreTranslate",
"api_server": "LibreTranslate API Server",
"api_server_description": "Introduzca la URL base de su servidor LibreTranslate (por ejemplo, http://localhost:5000)",
+ "api_key_optional": "Clave API de LibreTranslate (opcional)",
+ "api_key_placeholder": "Deje vacío a menos que su proveedor la exija",
+ "api_key_description": "Si es necesario, LibreTranslate espera esto como api_key en el cuerpo JSON de traducción y opcionalmente en la solicitud de idiomas. Omítala en instancias autohospedadas típicas.",
"source_language": "Idioma fuente",
"auto_detect": "Auto-dececto",
"target_language": "Lenguaje objetivo",

diff --git a/meshchatx/src/frontend/locales/fr.json b/meshchatx/src/frontend/locales/fr.json
index 8621b0e0..29fb01a7 100644
--- a/meshchatx/src/frontend/locales/fr.json
+++ b/meshchatx/src/frontend/locales/fr.json
@@ -2169,6 +2169,9 @@
"libretranslate": "Libre",
"api_server": "LibreTrail Serveur d'API",
"api_server_description": "Entrez l'URL de base de votre serveur LibreTrail (par exemple, http://localhost:5000)",
+ "api_key_optional": "Clé API LibreTranslate (facultatif)",
+ "api_key_placeholder": "Laisser vide sauf si votre fournisseur l'exige",
+ "api_key_description": "Si nécessaire, LibreTranslate attend ceci comme api_key dans le corps JSON de traduction et éventuellement dans la requête des langues. À omettre pour les instances auto-hébergées typiques.",
"source_language": "Langue source",
"auto_detect": "Détecteur automatique",
"target_language": "Langue cible",

diff --git a/meshchatx/src/frontend/locales/it.json b/meshchatx/src/frontend/locales/it.json
index 899cf432..bc39befd 100644
--- a/meshchatx/src/frontend/locales/it.json
+++ b/meshchatx/src/frontend/locales/it.json
@@ -2221,6 +2221,9 @@
"libretranslate": "LibreTranslate",
"api_server": "Server API LibreTranslate",
"api_server_description": "Inserisci l'URL di base del tuo server LibreTranslate (es. http://localhost:5000)",
+ "api_key_optional": "Chiave API LibreTranslate (opzionale)",
+ "api_key_placeholder": "Lasciare vuoto se il provider non la richiede",
+ "api_key_description": "Se richiesta, LibreTranslate si aspetta api_key nel corpo JSON translate e facoltativamente nella richiesta lingue. Omettere per installazioni self-hosted tipiche.",
"source_language": "Lingua Sorgente",
"auto_detect": "Rilevamento automatico",
"target_language": "Lingua Destinazione",

diff --git a/meshchatx/src/frontend/locales/nl.json b/meshchatx/src/frontend/locales/nl.json
index 920c3153..3045f404 100644
--- a/meshchatx/src/frontend/locales/nl.json
+++ b/meshchatx/src/frontend/locales/nl.json
@@ -2169,6 +2169,9 @@
"libretranslate": "LibreVertalen",
"api_server": "LibreVertaal API-server",
"api_server_description": "Voer de basis-URL in van uw LibreTranslate-server (bijv. http://localhost:5000)",
+ "api_key_optional": "LibreTranslate API-sleutel (optioneel)",
+ "api_key_placeholder": "Leeg laten tenzij uw provider er een vereist",
+ "api_key_description": "Indien vereist verwacht LibreTranslate dit als api_key in de JSON-vertaalbody en optioneel bij de talenrequest. Weglaten voor typische zelfgehoste installaties.",
"source_language": "Brontaal",
"auto_detect": "Automatisch detecteren",
"target_language": "Doeltaal",

diff --git a/meshchatx/src/frontend/locales/ru.json b/meshchatx/src/frontend/locales/ru.json
index 34d30d0f..5855365e 100644
--- a/meshchatx/src/frontend/locales/ru.json
+++ b/meshchatx/src/frontend/locales/ru.json
@@ -2104,6 +2104,9 @@
"libretranslate": "LibreTranslate",
"api_server": "Сервер API LibreTranslate",
"api_server_description": "Введите базовый URL вашего сервера LibreTranslate (например, http://localhost:5000)",
+ "api_key_optional": "API-ключ LibreTranslate (необязательно)",
+ "api_key_placeholder": "Оставьте пустым, если провайдер не требует",
+ "api_key_description": "При необходимости LibreTranslate ожидает api_key в JSON-теле translate и опционально в запросе языков. Для типичных self-hosted экземпляров не указывайте.",
"source_language": "Исходный язык",
"auto_detect": "Автоопределение",
"target_language": "Целевой язык",

diff --git a/meshchatx/src/frontend/locales/zh.json b/meshchatx/src/frontend/locales/zh.json
index fa34d5b5..154b80c4 100644
--- a/meshchatx/src/frontend/locales/zh.json
+++ b/meshchatx/src/frontend/locales/zh.json
@@ -2169,6 +2169,9 @@
"libretranslate": "LibreTranslate",
"api_server": "LibreTranslate API 服务器",
"api_server_description": "输入 LibreTranslate 服务器的基础 URL(例如 http://localhost:5000)",
+ "api_key_optional": "LibreTranslate API 密钥(可选)",
+ "api_key_placeholder": "除非服务商要求,否则留空",
+ "api_key_description": "如需,LibreTranslate 会在 JSON 翻译请求体中以 api_key 传入,语言列表请求也可能需要。典型自建实例可留空。",
"source_language": "源语言",
"auto_detect": "自动检测",
"target_language": "目标语言",


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────